package com.pkk.cloud.support.admin.dto.req.urls;

import java.io.Serializable;
import javax.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 资源接口绑定请求参数
 * @author: peikunkun
 * @create: 2020-04-22 15:407
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ResourceUrlBindReqData implements Serializable {

  private static final long serialVersionUID = -8728647113917938567L;

  /**
   * 父id
   */
  @NotNull(message = "不明确的资源信息")
  private Long resourceId;


  /**
   * 接口列表
   */
  @NotNull(message = "不明确的接口信息")
  private Long[] urls;
}